package cn.mystylefree.sqlSession;

import cn.mystylefree.po.Configuration;
import cn.mystylefree.po.MappedStatement;

import java.util.List;

/**
 * @program my-project-model
 * @description:
 * @author: lee
 * @create: 2022/06/15 12:55
 */
public interface Executor {
    /**
     * 查询
     * @param configuration
     * @param mappedStatement
     * @param objects
     * @param <E>
     * @return
     */
    public <E> List<E> query(Configuration configuration,
                             MappedStatement mappedStatement,
                             Object... objects);

}
